home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXTTTTrrrraaaannnnssssllllaaaatttteeeeCCCCoooooooorrrrddddiiiinnnnaaaatttteeeessss((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXTTTTrrrraaaannnnssssllllaaaatttteeeeCCCCoooooooorrrrddddiiiinnnnaaaatttteeeessss((((3333XXXX11111111))))
-
-
-
- NNNNAAAAMMMMEEEE
- XTranslateCoordinates - translate window coordinates
-
- SSSSYYYYNNNNTTTTAAAAXXXX
- Bool XTranslateCoordinates(_d_i_s_p_l_a_y, _s_r_c__w, _d_e_s_t__w, _s_r_c__x,
- _s_r_c__y, _d_e_s_t__x__r_e_t_u_r_n,
- _d_e_s_t__y__r_e_t_u_r_n, _c_h_i_l_d__r_e_t_u_r_n)
- Display *_d_i_s_p_l_a_y;
- Window _s_r_c__w, _d_e_s_t__w;
- int _s_r_c__x, _s_r_c__y;
- int *_d_e_s_t__x__r_e_t_u_r_n, *_d_e_s_t__y__r_e_t_u_r_n;
- Window *_c_h_i_l_d__r_e_t_u_r_n;
-
- AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
- _c_h_i_l_d__r_e_t_u_r_n
- Returns the child if the coordinates are contained
- in a mapped child of the destination window.
-
- _d_e_s_t__w Specifies the destination window.
-
- _d_e_s_t__x__r_e_t_u_r_n
- _d_e_s_t__y__r_e_t_u_r_n
- Return the x and y coordinates within the
- destination window.
-
- _d_i_s_p_l_a_y Specifies the connection to the X server.
-
- _s_r_c__w Specifies the source window.
-
- _s_r_c__x
- _s_r_c__y Specify the x and y coordinates within the source
- window.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- If _X_T_r_a_n_s_l_a_t_e_C_o_o_r_d_i_n_a_t_e_s returns _T_r_u_e, it takes the src_x
- and src_y coordinates relative to the source window's origin
- and returns these coordinates to dest_x_return and
- dest_y_return relative to the destination window's origin.
- If _X_T_r_a_n_s_l_a_t_e_C_o_o_r_d_i_n_a_t_e_s returns _F_a_l_s_e, src_w and dest_w are
- on different screens, and dest_x_return and dest_y_return
- are zero. If the coordinates are contained in a mapped
- child of dest_w, that child is returned to child_return.
- Otherwise, child_return is set to _N_o_n_e.
-
- _X_T_r_a_n_s_l_a_t_e_C_o_o_r_d_i_n_a_t_e_s can generate a _B_a_d_W_i_n_d_o_w error.
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- _B_a_d_W_i_n_d_o_w A value for a Window argument does not name a
- defined Window.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
-
-
-
- Page 1 (printed 10/3/02)
-
-
-
-